package com.itheima02;

import java.sql.SQLOutput;

public class Person {
    private String di;
    private String name;
    private String wage;


    public void work(){
        System.out.println("工作");
    }
    public void eat(){
        System.out.println("吃米饭");
    }

    public Person() {
    }

    public Person(String di, String name, String wage) {
        this.di = di;
        this.name = name;
        this.wage = wage;
    }

    public String getDi() {
        return di;
    }

    public void setDi(String di) {
        this.di = di;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getWage() {
        return wage;
    }

    public void setWage(String wage) {
        this.wage = wage;
    }
}
